Interview Questions and Answer
Options:
a. Anywhere the .(dot) operator is used, the [] could be used instead.
b. Anywhere the [] operator is used, the .(dot) could be instead.
c. If the .(dot) operator is used to acess a bean property but the property doesnot exist, then a runtime exception is thrown.
d. There are some situations where the .(dot) operator must be used and other situations where the [] operator must be used.
Reveal Answer
Options:
a. TLD files may be placed in any subdirectory of WEB-INF.
b. TLD files are used to configure JSP environment attributes, such as scripting-invalid.
c. TLD files may be placed in the META-INF directory of the WAR file.
d. TLD files can declare both Simple and Classic tags, but TLD files are NOT used to declare Tag files.
Reveal Answer
Options:
a. <foo:bar/>
b. <my:tag> </my:tag>
c. <mytag value="x" />
d. <c:out value="x" />
Reveal Answer
Options:
a. header
b. headerValues
c. params
d. paramValues
Reveal Answer
Options:
a. JSTL String
b. JSTL Function
c. JSTL XML
d. JSTL Formatting
Reveal Answer
Bestdotnet google plus